package com.sunmoon.mingshuo.spider

import com.sunmoon.mingshuo.data.Search
import io.reactivex.Observable

object Spider {
    val soudu = SouduSpider()
    fun search(keyword: String): Observable<Search> {
        return Observable.create {
            it.onNext(soudu.search(keyword))
            it.onComplete()
        }
    }
}